<template>
  <section class="banner">
      <div class="block">
        <el-carousel trigger="click" height="550px">
          <el-carousel-item v-for="item in bannerList" :key="item.id">
            <img :src="item.ad_logo" alt="">
          </el-carousel-item>
        </el-carousel>
      </div>
  </section>
</template>

<script>
import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-default/index.css'
Vue.use(ElementUI)

import {Get,Post} from '@/config/api.js'
export default {
  name: 'banner',
  props:['bannerList']
}
</script>